package ru.scf37;

import javax.swing.Icon;

public class IconListItemImpl implements IconListItem{
	private Icon icon;
	private String text;
	
	public IconListItemImpl(Icon icon, String text) {
		this.icon = icon;
		this.text = text;
	}
	
	@Override
	public Icon getIcon() {
		return icon;
	}

	@Override
	public String getText() {
		return text;
	}

}
